<div class="boxModule">
    <div class="box-title">
        <h3><span><?php echo $title; ?></span></h3>
        <div class="Options"><a href="<?php echo Link::build('product/bestsold?view=all'); ?>" class="viewall">Xem tất cả »</a></div>
    </div>
    <!-- End Orange Title -->
    <div class="boxmodule-cont no-padd">
        <ul class="listItem-row clearfix">
            <?php
            foreach($products as $product)
            {
                ?>
                <li style="width:33.33%">
                    <a href="<?php echo Link::build('product/detail', $product, 'product_id'); ?>"><img alt="Ảnh sản phẩm" src="<?php echo $product['url_images']; ?>"/></a>
                    <h4><a href="<?php echo Link::build('product/detail', $product, 'product_id'); ?>"><?php echo $product['name']; ?></a></h4>
                    <p class="Gía sản phẩm"><?php echo $product['price'];?> VND</p>
                    <a href="<?php echo Link::build('cart/add', $product, 'product_id'); ?>" class="theme-btt bttm8"><span><i class="icon-buynow">Mua ngay</i></span></a><br>
                </li>
                <?php
            }
            ?>
        </ul>
    </div>
    <!-- End BoxModule Content -->
</div>